package com.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 陈忠杰
 * @Date: 2021/07/05/10:12
 * @Description:
 */
public class FindBackUserVO {
    private int pageNo;
    private String login_name;
    private String nickname;
    private String role;
    private String email;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GTM+8")
    private Date create_start_date;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GTM+8")
    private Date create_end_date;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GTM+8")
    private Date login_start_date;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GTM+8")
    private Date login_end_date;

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public String getLogin_name() {
        return login_name;
    }

    public void setLogin_name(String login_name) {
        this.login_name = login_name;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getCreate_start_date() {
        return create_start_date;
    }

    public void setCreate_start_date(Date create_start_date) {
        this.create_start_date = create_start_date;
    }

    public Date getCreate_end_date() {
        return create_end_date;
    }

    public void setCreate_end_date(Date create_end_date) {
        this.create_end_date = create_end_date;
    }

    public Date getLogin_start_date() {
        return login_start_date;
    }

    public void setLogin_start_date(Date login_start_date) {
        this.login_start_date = login_start_date;
    }

    public Date getLogin_end_date() {
        return login_end_date;
    }

    public void setLogin_end_date(Date login_end_date) {
        this.login_end_date = login_end_date;
    }

    @Override
    public String toString() {
        return "FindBackUserVO{" +
                "pageNo=" + pageNo +
                ", login_name='" + login_name + '\'' +
                ", nickname='" + nickname + '\'' +
                ", role='" + role + '\'' +
                ", email='" + email + '\'' +
                ", create_start_date=" + create_start_date +
                ", create_end_date=" + create_end_date +
                ", login_start_date=" + login_start_date +
                ", login_end_date=" + login_end_date +
                '}';
    }
}
